package entities;


import org.hibernate.annotations.Entity;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: x
 * Date: 2012.09.26.
 * Time: 17:12
 * To change this template use File | Settings | File Templates.
 */
@Entity
public class UserEntity implements Serializable {

    private int id;
    private String userName;
    private String password;
    private String email;
    private int checkbox;
    public UserEntity() {
    }
    public UserEntity(int id, String userName, String password, String email, int checkbox) {
        this.id = id;
        this.userName = userName;
        this.password = password;
        this.email = email;
        this.checkbox = checkbox;
    }
    public int getId() {
        return id;
    }
    public String getUserName() {
        return userName;
    }
    public String getPassword() {
        return password;
    }
    public String getEmail() {
        return email;
    }
    public int getCheckbox() {
        return checkbox;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setCheckbox(int checkbox) {
        this.checkbox = checkbox;
    }
}
